#ifndef QUADRATICSCORE_H
#define QUADRATICSCORE_H

#include <stdio.h>

// coefs for ax^2 + bx + c = 0
typedef struct {
  double	a;
  double	b;
  double	c;
} Coef;

// Real roots for ax^2 + bx + c = 0
typedef struct {
  double	x1;
  double	x2;
} Root;

int compute(Coef *coef, Root *root);

double checkInput();

#endif
